package ast;

public class MethodDecNode extends Node {
	public String access;
	public String type;
	public String id;
	public List params;

	public MethodDecNode(String a, String t, String id, List p,
			MethodBodyNode mbn) {
		access = a;
		this.type = t;
		this.id = id;
		params = p;
		left = mbn;
		right = null;
	}

	public Object accept(Visitor v) {
		return v.visit(this);
	}

}